package com.example.todolist.service;

import com.example.todolist.dto.business.WriteCommentsDTO;
import com.example.todolist.model.DynamicComments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.todolist.response.BaseResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2022-02-25
 */
public interface DynamicCommentsService extends IService<DynamicComments> {

    BaseResponse writeComments(WriteCommentsDTO writeCommentsDto);

    BaseResponse whetherCanDeleteThisComments(String commentId);

    BaseResponse deleteComments(String commentId, String dynamicId);
}
